<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<script src="js/vue.js"></script>
		<script src="js/vue-router.js"></script>
	</head>
	<body>
		<div id="a">
			<router-link to="/router">runoob</router-link>
			<router-view></router-view>
		</div>
		<script>
			
			let rounber = {
				template:'<a href="https://www.w3school.com.cn/" target="_blank">45</a>'
			}
			
			let router =new VueRouter({
				routes:[
					{path:"/router",component:rounber}
				]
			})
			new Vue({
				el:"#a",
				router
			})
		</script>
	</body>
</html>
